<template>
	<div class="compIcon" :style="iconStyle">
		<img src="../../assets/registerOk.png" alt="" />
		<p>{{compIconContent}}</p>
	</div>
</template>

<script>
  export default {
	props: ['iconStyle','compIconContent']
  }
</script>

<style scoped>
	.compIcon {
		width: 250px;
		height: 150px;
		position: fixed;
		top: 50%;
		left: 50%;
		margin-left: -125px;
		margin-top: -75px;
		z-index: 66;
		background: rgba(0,0,0,0.65);
		box-shadow: 0 8px 20px 0 rgba(0,0,0,0.38);
		border-radius: 5px;
	}
	.compIcon img {
		text-align: center;
		margin-top: 30px;
		margin-left: 95px;
		margin-bottom: 20px;
		width: 40px;
		height: 40px;
	}
	.compIcon p {
		font-size: 24px;
		color: #FFFFFF;
		text-align: center;
	}
</style>